home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / mac / Sample Code / Human Interface Toolbox / NoSound / readme•NoSound < prev   
Encoding:
Text File  |  2000-06-23  |  2.4 KB  |  44 lines  |  [TEXT/ttxt]

  1.  
  2.     Yes, the Quadra is great, but not in all aspects. The speaker of the Quadra 900 is 
  3.     better suited for a hard rock concert than for a little workroom at late hours in 
  4.     the night. In order to avoid the startup blast, or at last, keep it in a civilized 
  5.     level, I wrote this little piece of code as soon as my wife heared that noise. It 
  6.     makes use of some new calls from IM VI (FindFolder, the FSSSpec stuff), as well as 
  7.     calls from the ancient IM kit (PRAM and shutdown manager). 
  8.  
  9.     As you know, in the new machines (Quadra 700, 900 and PowerBook 140, 170) the startup 
  10.     sound level depends on the level you set in the control panel "Sound" (so, its stored 
  11.     in the Parameter RAM). Nobody knows why, but when you put the level to 0, the startup 
  12.     sound seems to be at 6. So, the only thing you can do is set the vol to 1.
  13.  
  14.     Drop the program in your "Startup Items" folder. Each time it´s invoked it installs a 
  15.     shutdown procedure that, at shutdown time:
  16.  
  17.     1) gets the volume level
  18.     2) saves it in the "NoSound.prefs" file in "Preferences" folder and
  19.     3) set the volume level to 1
  20.     In addition, it reads the volume level saved and restore it.
  21.  
  22.     In two words: it downs the sound level at shutdown time and set it back to its original 
  23.     level at startup time, once the startup sound is executed. 
  24.  
  25.     Feel free to use and distribute it. But remember that each Mac is a world. I only tested 
  26.     it in a reduced number of machines. I can assure that´s working in my Quadras, both at 
  27.     home and in office since its inception, without any known disruption or any harmful side 
  28.     effect. In addition other people is using it and they still talk to me.
  29.  
  30.     Faustino Forcén
  31.     System Software Specialist
  32.     Apple Computer Spain
  33.  
  34.     Faustino Forcén is just the standard kind of programmer. That is, he works until very late, 
  35.     sometimes is very ugly and usually his table is full of papers (without any order, of 
  36.     course). With this pedigree is really strange that he is happily married and father of a 
  37.     beautiful daughter of three months old.
  38.  
  39.     A self learning person, his code is sometimes nasty and sometimes bizarre. The most 
  40.     disturbing is that it really works!!. Actually, in addition to programming until 5 a.m., 
  41.     he employs it’s spare time in being System Software Specialist for Apple Computer Spain. 
  42.     His three favourites hobbies, apart from the computer are comics, history and his family.
  43.  
  44.